﻿<?php
require_once('config.php');
$conn = mysql_connect($cfg_dbhost,$cfg_dbuser,$cfg_dbpwd);
mysql_select_db($cfg_dbname,$conn);
$user_name=$_GET["user_name"];
$login_time=base64_decode($_GET["login_time"]);
$fl="select * from ph_login where cdate>'".$login_time."' and user_name='".$user_name."'";
$ssq=mysql_query($fl);
if(mysql_num_rows($ssq)>=1){echo "yess";}else{echo "no";}
?>